import request from './api';
function zhengchuAddApi(params) {
	return request('/projectPolitical/add', params, 'POST')
}

function getzhengchuApi(params){
	return request('/projectPolitical/politicals', params, 'GET')
}

function updateApi(params) {
	return request('/projectPolitical/update', params, 'POST')
}

function listApi(params){
	return request('/projectPolitical/index', params, 'GET')
}

function infoApi(params){
	return request('/projectPolitical/detail', params, 'GET')
}
//政处问题主体项目接口
function PoliticalList(params){
	return request('/projectPolitical/list', params, 'GET')
}
//政处问题单体项目接口
function PoliticalListItem(params){
	return request('/projectPolitical/politicalList', params, 'GET')
}
function PeojectDesignProblem(params){
	return request('/PeojectDesignProblem/getCompany', params, 'GET')
}
function PeojectDesignProblemAdd(params){
	return request('/PeojectDesignProblem/add', params, 'POST')
}
function PeojectDesignProblemDetail(params){
	return request('/PeojectDesignProblem/detail', params, 'GET')
}
function PeojectDesignProblemUpdate(params){
	return request('/PeojectDesignProblem/update', params, 'GET')
}
function addFourway(params){
	return request('/ProjectFourConnectionOneLevel/add', params, 'POST')
}
function getFourwayList(params){
	return request('/ProjectFourConnectionOneLevel/list', params, 'GET')
}
function updateFourwayList(params){
	return request('/ProjectFourConnectionOneLevel/update', params, 'POST')
}
function deleteFourwayList(params){
	return request('/ProjectFourConnectionOneLevel/delete', params, 'GET')
}
export {
	zhengchuAddApi,
	getzhengchuApi,
	listApi,
	updateApi,
	infoApi,
	PoliticalList,
	PoliticalListItem,
	PeojectDesignProblem,
	PeojectDesignProblemAdd,
	PeojectDesignProblemDetail,
	PeojectDesignProblemUpdate,
	addFourway,
	getFourwayList,
	updateFourwayList,
	deleteFourwayList
}